package houseHold;

/**
 * Point in 2D Space
 * 
 * @author Minodor Class used for point of origin of rooms and household objects
 */
public class Point2D {
	private int x, y;

	public Point2D() {
		super();
		x = 0;
		y = 0;
	}

	public Point2D(int x, int y) {
		super();
		this.x = x;
		this.y = y;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public void setX(int x) {
		this.x = x;
	}

	public void setY(int y) {
		this.y = y;
	}

	@Override
	public String toString() {
		return " X = " + x + " Y = " + y;
	}

}
